home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILSTEM / UTIL2.LZH / COLOR.DOC < prev    next >
Text File  |  1986-11-05  |  3KB  |  60 lines

  1.  
  2.                             HOW  TO  USE  COLOR.COM
  3.           
  4.          COLOR.COM is a program which sets screen colors on a color monitor.  
  5.          Unlike most color control programs this program intercepts the ROM 
  6.          video INT 10H routine, so that the colors are not lost when the 
  7.          screen is cleared.  This program is memory resident (the resident 
  8.          portion is only 83 bytes) and redefines the default white on black 
  9.          color attributes.  
  10.           
  11.          The author of this program is Charlie Butrico of South Plainfield, 
  12.          New Jersey.  The BASIC source code to make COLOR.COM appeared in 
  13.          the September 17, 1985 issue of PC Magazine, Volume 4, Number 19.  
  14.                    
  15.          To set new default colors, enter the following command at the DOS 
  16.          prompt: 
  17.                  A>color fg/bg br
  18.  
  19.          Note that the foreground/background color combination (fg/bg) is a 
  20.          decimal value from 0 to 255 and the border color (br) is a decimal 
  21.          value from 0 to 15.  Entering one number will change the 
  22.          foreground/background colors only.  
  23.           
  24.          The decimal values of the color attributes are as follows:
  25.  
  26.                               0 Black     8 Gray
  27.                               1 Blue      9 Light Blue
  28.                               2 Green    10 Light Green
  29.                               3 Cyan     11 Light Cyan
  30.                               4 Red      12 Light Red
  31.                               5 Magenta  13 Light Magenta
  32.                               6 Brown    14 Yellow
  33.                               7 White    15 High-intensity White
  34.           
  35.          To determine the decimal value of the fg/bg color, multiply the 
  36.          number of the desired background color by 16 and add the desired 
  37.          foreground (text) color.  For the decimal value of the the border 
  38.          color, just use the color number.  Some examples follow: 
  39.  
  40.              color 6        Brown text, Black bg, Border unchanged 
  41.              color 113 3    Blue text, White bg, Cyan border 
  42.              color 25 7     Light blue text, blue bg, white border 
  43.              color 7 0      White text, black background and border 
  44.           
  45.          An ideal way to set new default colors is to use a COLOR statement 
  46.          in the AUTOEXEC.BAT file.  The new colors will be displayed is 
  47.          DOS, BASIC, or any program which does not specify color attributes.  
  48.          When a program that defines screen colors such as Lotus 1-2-3 is 
  49.          exited, the defined colors reappear since they are memory resident 
  50.          until the colors are redefined by running COLOR.COM again or the 
  51.          computer is turned off or rebooted.  In a few cases the white on 
  52.          black screen will come back such as after the screen is cleared 
  53.          with a mode command or after running interrupt-intensive programs 
  54.          such as Topview.  When this happens a CLS command will bring the 
  55.          colors back.  
  56.  
  57.          To print this file set the printer to the top of the page
  58.          and enter the following command:
  59.               A>copy COLOR.DOC prn
  60.